Bind bookmark-bmenu-search to `/'
authorLeo Liu <sdl.web@gmail.com>
Tue, 10 May 2011 19:34:51 +0000 (03:34 +0800)
committerLeo Liu <sdl.web@gmail.com>
Tue, 10 May 2011 19:34:51 +0000 (03:34 +0800)
lisp/ChangeLog
lisp/bookmark.el

index 9d16169a45a48e0584606c14d29c057817c4474e..ebb15000e0ed517d18248f1018e4070aa4157af1 100644 (file)
@@ -1,5 +1,8 @@
 2011-05-10  Leo Liu  <sdl.web@gmail.com>
 
+       * bookmark.el (bookmark-bmenu-mode-map): Bind
+       bookmark-bmenu-search to `/'.
+
        * mail/footnote.el: Convert to utf-8 encoding.
        (footnote-unicode-string, footnote-unicode-regexp): New variable.
        (Footnote-unicode): New function.
index d3db54c81d4aa4da3de5eed0df4b82911e25d2f4..184cecb9e9cd0d850f07fdf3fa4446d2b39186f0 100644 (file)
@@ -1504,9 +1504,7 @@ method buffers use to resolve name collisions."
     (define-key map "a" 'bookmark-bmenu-show-annotation)
     (define-key map "A" 'bookmark-bmenu-show-all-annotations)
     (define-key map "e" 'bookmark-bmenu-edit-annotation)
-    ;; The original binding of M-g hides the M-g prefix map.
-    ;; If someone has a better idea than M-g s, I'm open to suggestions.
-    (define-key map [?\M-g ?s] 'bookmark-bmenu-search)
+    (define-key map "/" 'bookmark-bmenu-search)
     (define-key map [mouse-2] 'bookmark-bmenu-other-window-with-mouse)
     map))